<?php

class Form_klachtOpen extends Zend_Form
{
	public function __construct($userGroup = "Gebruiker")
	{
		parent::__construct();
		$this->setAction('/klacht/add')
           ->setMethod('post');

		$statusSelect = new Zend_Form_Element_Select('klachtStatus');
        $statusSelect->setLabel('Status')
              		->setMultiOptions(array('1'=>'Open', '2'=>'Processing', '3' => 'Closed'))
              		->setRequired(true)->addValidator('NotEmpty', true);
		$this->addElement($statusSelect);   
		   
		$prioSelect = new Zend_Form_Element_Select('klachtPrio');
        $prioSelect->setLabel('Prioriteit')
              		->setMultiOptions(array('1'=>'1', '2'=>'2', '3' => '3'))
              		->setRequired(true)->addValidator('NotEmpty', true);
		$this->addElement($prioSelect);
		
		$configSelect = new Zend_Form_Element_Select('klachtConfig');
        $configSelect->setLabel('Configuratie')
              		->setMultiOptions(array('1'=>'Dell Inspiron 6400', '2'=>'HP Desktop P6310'))
              		->setRequired(true)->addValidator('NotEmpty', true);
		$this->addElement($configSelect);
		
	}	
}
